import request from '@/util/request.js';

/**
 * @description 查询缴费金额列表
 * @param {Object} data
 */
export function getPaymentListApi(data) {
	return request({
		url: '/paymentQuotaConfig/getPaymentQuotaConfig',
		method: 'GET',
		data
	})
}
/**
 * @description 查询历史缴费账户
 * @param {Object} data
 */
export function getGasInfoListApi(data) {
	return request({
		url: '/gasDetails/getGasDetailsInfoList',
		method: 'GET',
		data
	})
}
/**
 * @description 根据公司名称和账户查询余额和基本信息
 * @param {Object} data
 */
export function getGasDetailsInfoApi(data) {
	return request({
		url: '/gasDetails/getGasDetailsInfo',
		method: 'GET',
		data
	})
}
/**
 * @description 查询公司列表
 * @param {Object} data
 */
export function getCompanyListApi(data) {
	return request({
		url: '/company/list',
		method: 'GET',
		data
	})
}
/**
 * @description 查询当前登陆人的历史缴费账户信息数组
 * @param {Object} data
 */
export function getRecordsByUserId(data) {
	return request({
		url: '/paymentRecordsLog/getPaymentRecordslISTByUserId',
		method: 'GET',
		data
	})
}
/**
 * @description 查询当前登陆人的历史缴费账户信息数组
 * @param {Object} data
 */
export function getGasTotalInfoApi(data) {
	return request({
		url: '/gasDetails/getGasTotalInfo',
		method: 'GET',
		data
	})
}
/**
 * @description 微信支付
 * @param {Object} data
 */
export function createPayGasOrder(data) {
	return request({
		url: '/paymentRecordsLog/createPayGasOrder',
		method: 'post',
		data
	})
}